package com.michael.study.jetpack.application;

import android.app.Application;
import android.content.Context;

import androidx.multidex.MultiDex;

import com.michael.study.network.NetWorkModule;

import dagger.hilt.android.HiltAndroidApp;

/**
 * Description:
 *
 * <p>Created by liuguoquan on 2020/6/13 18:06.
 */
@HiltAndroidApp
public class App extends Application {

    @Override
    protected void attachBaseContext(Context base) {
        super.attachBaseContext(base);
        MultiDex.install(base);
    }

    @Override
    public void onCreate() {
        super.onCreate();
        NetWorkModule.init(new AppNetWork());
    }
}
